package com.tulingxueyuan.mall.dto;

import com.tulingxueyuan.mall.modules.oms.model.OmsOrder;
import com.tulingxueyuan.mall.modules.oms.model.OmsOrderItem;
import com.tulingxueyuan.mall.modules.oms.model.OmsOrderOperateHistory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.omg.CORBA.PRIVATE_MEMBER;

import javax.validation.Valid;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OmsOrderViewDTO 返回查询订单数据", description = "用于查询订单信息包括商品信息..")
public class OmsOrderViewDTO extends OmsOrder {
    @ApiModelProperty(value = "商品操作信息列表")
    private List<OmsOrderOperateHistory> historyList;
    @ApiModelProperty(value = "订单商品信息")
    private List<OmsOrderItem> orderItemList;
}
